package com.sunlee.app.api.entity.dao;

import com.sunlee.common.core.dao.BaseDao;
import com.sunlee.common.service.entity.CommonUserEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户
 * 
 * @author sunlee
 */
@Mapper
public interface UserDao extends BaseDao<CommonUserEntity> {
    CommonUserEntity getUserByMobile(String mobile);

    CommonUserEntity getUserByUserId(Long userId);

    CommonUserEntity getUserByOpenId(String mpOpenId);
}
